<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css">
        * {
            margin: 0;
            padding: 0;
        }

        #div1 {
            width: 580px;
            border: 3px solid lightblue;
            margin-left: auto;
            margin-right: auto;
        }

        #div2 {
            overflow: hidden;
            margin: 0 -20px -20px 0;
        }

        .box {
            width: 180px;
            height: 180px;
            margin-right: 20px;
            margin-bottom: 20px;
            float: left;
        }

        img {
            width: 180px;
            height: 180px;
        }
    </style>
</head>

<body>
    <div id="div1">
        <div id="div2">
            <div class="box"><img src="p1.jpg"></div>
            <div class="box"><img src="p3.jpg"></div>
            <div class="box"><img src="p3.jpg"></div>
            <div class="box"><img src="p4.jpg"></div>
            <div class="box"><img src="p5%20(1).jpg"></div>
        </div>
    </div>
</body>

</html>
